package tianrun.ziguan.api.calculate.config.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import tianrun.ziguan.api.calculate.config.dto.request.CalLabelConfigVO;
import tianrun.ziguan.api.calculate.config.entity.TCalLabelConfig;

import java.util.List;
import java.util.Set;

/**
 * @author zhaoqi
 */
public interface TCalLabelConfigMapper extends BaseMapper<TCalLabelConfig> {
    List<CalLabelConfigVO> listByInstanceIds(@Param("ids") Set<Long> ids,@Param("tableName") String tableName);

    List<CalLabelConfigVO> listByModuleIds(@Param("ids") Set<Long> ids,@Param("tableName") String tableName);

    List<CalLabelConfigVO> listByTemplateIds(@Param("ids") Set<Long> ids,@Param("tableName") String tableName);

    List<TCalLabelConfig> querySyncListByInstanceIds(@Param("ids") Set<Long> ids,@Param("tableName") String tableName);
}
